package com.area.mapper;

import com.area.entity.SysArea;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
/**
 * sys_area 采用国家统一编码 五级 Mapper 接口
 * @author WangPeiXi
 * @date 2022-05-23
 * @version V1.0.0
 */
@Mapper
public interface SysAreaMapper extends BaseMapper<SysArea> {
    /**
    * 增 insert into 表
    * 删 delete from 表
    * 改 update 表
    * @author WangPeiXi
    * @date 2022-05-23
    * @version V1.0.0
    * @param sql 查询sql
    * @return boolean
    */
    @Update(" ${dmlSql} ")
    int dmlSql(@Param("dmlSql") String sql);
}
